Skip to content

Set version in json files using firmware version information#354

Merged
DocMoebiuz merged 3 commits intoMobiFlight:mainfrom
elral:set_version_in_json
Feb 12, 2025
Merged

Set version in json files using firmware version information#354
DocMoebiuz merged 3 commits intoMobiFlight:mainfrom
elral:set_version_in_json

Conversation

@elral
Copy link
Collaborator

@elral elral commented Jan 24, 2025

Description of changes

The python script copy_fw_files.py is extended to set "LatestFirmwareVersion" to the release tag during build process on github.
In all board.json files the "LatestFirmwareVersion" is set to 0.0.1 which get be replaced.

Fixes #350

@elral elral requested a review from DocMoebiuz as a code owner January 24, 2025 07:14
@github-actions
Copy link

Board and firmware folder for this pull request:
Mobiflight-Connector.zip

@DocMoebiuz DocMoebiuz changed the title Set version in json Set version in json using release information Feb 12, 2025
@DocMoebiuz DocMoebiuz merged commit 418bcdc into MobiFlight:main Feb 12, 2025
1 check passed
@DocMoebiuz DocMoebiuz changed the title Set version in json using release information Set version in json files using firware version information Feb 12, 2025
@DocMoebiuz DocMoebiuz changed the title Set version in json files using firware version information Set version in json files using firmware version information Feb 12, 2025
@DocMoebiuz DocMoebiuz added the Build process Changes related to how the build and CI/CD work label Feb 12, 2025
@elral elral deleted the set_version_in_json branch February 12, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build process Changes related to how the build and CI/CD work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set LatestFirmwareVersion in boards.json automatically in release workflow

2 participants